<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>
<body>
  <input type="text" id="Inputbox1">
  <input type="text" id="Inputbox2">
  <input type="text" id="outcome">
  <br>
  <button id="btn1" onclick="multiplication()">计算乘法</button>
  <button id="btn2" onclick="division()">计算除法</button>
  <script>
    var Inputbox1 = document.getElementById('Inputbox1');
    var Inputbox2 = document.getElementById('Inputbox2');
    var outcome = document.getElementById('outcome');
    function multiplication(){
       outcome.value = Inputbox1.value * Inputbox2.value
    }
    function division(){
      outcome.value = Inputbox1.value / Inputbox2.value
    }
  </script>
</body>
</html>